/**
 * @file wa_pid.h
 *
 */

#ifndef _WA_PID_H
#define _WA_PID_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
*      INCLUDES
*********************/
#include "wa_conf.h"
#include <string.h>
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
#include "wa_misc.h"
/*********************
*      DEFINES
*********************/

/**********************
*      TYPEDEFS
**********************/
typedef struct
{
	int x;
	int y;
	unsigned char state;
}wa_pid_state;


/**********************
* GLOBAL PROTOTYPES
**********************/
void wa_pid_module_init(void);
void wa_pid_store_state(wa_pid_state* pid_state);
void wa_pid_get_state(wa_pid_state* pid_state);
void wa_pid_enable(wa_result state);
wa_result wa_pid_is_enable(void);
void wa_pid_proc_point(wa_pid_state* pid_state);


/**********************
*      MACROS
**********************/


#ifdef __cplusplus
} /* extern "C" */
#endif

#endif
